package cn.sciento.farm.devicemanager.service.impl;

import cn.sciento.farm.devicemanager.dao.entity.DevCollectionHistory;
import cn.sciento.farm.devicemanager.dao.mapper.CollectionHistoryMapper;
import cn.sciento.farm.devicemanager.dao.mapper.CollectionTypeMapper;
import cn.sciento.farm.devicemanager.service.CollectionHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class CollectionHistoryServiceImpl implements CollectionHistoryService {

    @Autowired
    private CollectionHistoryMapper collectionHistoryMapper;

    @Override
    public int insert(DevCollectionHistory history) {
        return collectionHistoryMapper.insert(history);
    }
}
